
// 专题
export const useLoadAdminChannelListApi = (body) => {
    return useHttpPost(`/v1/adminchannel/list`,{body})
}
// 修改状态
export const useUpdateAdminChannelApi = (body) => {
    return useHttpPost(`/v1/adminchannel/update/status`,{body})
}

// 保存修改
export const useSaveUpdateAdminChannelApi = (body) => {
    return useHttpPost(`/v1/adminchannel/saveupdate`,{body})
}

// 查看兑换码
export const useLoadAdminChannelCodeApi = (body) => {
    return useHttpPost(`/v1/adminchannel/code/list`,{body})
}

// 保存修改兑换码
export const useSaveUpdateAdminChannelCodeApi = (body) => {
    return useHttpPost(`/v1/adminchannel/code/saveupdate`,{body})
}

// 批量兑换
export const useBatchAdminChannelApi = (body) => {
    return useHttpPost(`/v1/adminchannel/batch/users`,{body})
}

// 修改状态
export const useUpdateAdminChannelCodeApi = (body) => {
    return useHttpPost(`/v1/adminchannel/code/update/status`,{body})
}

// 删除
export const useDelAdminChannelApi = (id) => {
    return useHttpPost(`/v1/adminchannel/del/${id}`,{})
}

// 删除
export const useDelAdminChannelCodeApi = (id) => {
    return useHttpPost(`/v1/adminchannel/code/del/${id}`,{})
}

// 复制
export const useCopyAdminChannelApi = (id) => {
    return useHttpPost(`/v1/adminchannel/copy/${id}`,{})
}
